package com.yc.demo.crbook.biz;

public class BizException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String code;

	public BizException() {
		super();
	}

	public BizException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public BizException(String message, Throwable cause) {
		super(message, cause);
	}

	public BizException(String message) {
		super(message);
	}

	public BizException(Throwable cause) {
		super(cause);
	}

	public BizException(String code, String message) {
		super(message);
		this.code = code;
	}

	public BizException(String code, String msg, Exception e) {
		super(msg,e);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

}
